/*
 * jngc, Java utility classes by Nicholas Coltharp
 * Copyright (C) 2010 Nicholas Coltharp <ngc1@rice.edu>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package edu.rice.ngc1.util;

/**
 * Exception class which should be thrown in response to an unexpected
 * exception being thrown. This class should be used when a programmer
 * is calling a high-level method that is declared as possibly
 * throwing a checked exception, while knowing that the low-level
 * implementation prevents such an exception from actually being
 * thrown.
 */
public class UnexpectedExceptionException extends RuntimeException {

    /**
     * Serial version UID.
     */
    private static final long serialVersionUID = 740985572859602983L;

    public UnexpectedExceptionException(Throwable cause) {
        super(cause);
    }
}
